<form id="add-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Name')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-name" data-rule="required" class="form-control" name="row[name]" type="text">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Phone')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-phone" data-rule="required" class="form-control" name="row[phone]" type="text">
        </div>
    </div>
    <!--<div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Type')}:</label>
        <div class="col-xs-12 col-sm-8">

            <select  id="c-type" data-rule="required" class="form-control selectpicker" name="row[type]">
                {foreach name="typeList" item="vo"}
                    <option value="{$key}" {in name="key" value="1"}selected{/in}>{$vo}</option>
                {/foreach}
            </select>

        </div>
    </div>-->
    <!--<div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Shop')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-shop" class="form-control" name="row[shop]" type="number">
        </div>
    </div>-->
<!--    开始时间-->
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Stime')}:</label>

        <div style="float: left;margin: 5px 0 0 15px;height: 31px">
            <input id="c-stime-chose" name="row[stime]" type="radio" checked /> {:__('Limited')}
        </div>

        <div class="col-xs-12 col-sm-6" style="display: block">
            <input
                    id="c-stime"
                    class="form-control datetimepicker"
                    data-date-format="YYYY-MM-DD"
                    data-use-current="true" name="row[stime]"
                    type="text"
                    value="{:date('Y-m-d')}"
            >
        </div>

        <div style="float: left;margin: 5px 0 0 15px">
            <input id="c-stime-cancel" name="row[stime]" type="radio" value="2020-02-09" /> {:__('Unlimited')}
        </div>
    </div>

<!--    结束时间-->
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Etime')}:</label>
        <div style="float: left;margin: 5px 0 0 15px;height: 31px">
            <input id="c-etime-chose" name="row[etime]" checked type="radio" /> {:__('Limited')}
        </div>
        <div class="col-xs-12 col-sm-6">
            <input id="c-etime" class="form-control datetimepicker" data-date-format="YYYY-MM-DD" data-use-current="true" name="row[etime]" type="text" value="{:date('Y-m-d')}">
        </div>
        <div style="float: left;margin: 5px 0 0 15px">
            <input id="c-etime-cancel" name="row[etime]" type="radio" value="2020-02-09" /> {:__('Unlimited')}
        </div>
    </div>

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Holder')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-holder" class="form-control" name="row[holder]" type="text">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Account')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-account" class="form-control" name="row[account]" type="text">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Bank')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-bank" class="form-control" name="row[bank]" type="text">
        </div>
    </div>
    <!--<div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Studio')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-studio" class="form-control" name="row[studio]" type="number">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Users')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-users" class="form-control" name="row[users]" type="number">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Orders')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-orders" class="form-control" name="row[orders]" type="number">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Commissions')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-commissions" class="form-control" name="row[commissions]" type="number">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Distributions')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-distributions" class="form-control" name="row[distributions]" type="number">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Status')}:</label>
        <div class="col-xs-12 col-sm-8">

            <div class="radio">
            {foreach name="statusList" item="vo"}
            <label for="row[status]-{$key}"><input id="row[status]-{$key}" name="row[status]" type="radio" value="{$key}" {in name="key" value="0"}checked{/in} /> {$vo}</label>
            {/foreach}
            </div>

        </div>
    </div>-->
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
